package cn.zhangjie.product.mapper;

import cn.zhangjie.basic.mapper.BasicMapper;
import cn.zhangjie.product.domain.Product;
import org.apache.ibatis.annotations.Param;

import java.util.Date;
import java.util.List;


/**
 * (Product)表数据库访问层
 *
 * @author makejava
 * @since 2022-08-11 23:27:38
 */
public interface ProductMapper extends BasicMapper<Product> {
    void onsale(@Param("ids") List<Long> ids, @Param("onsaletime") Date date);

    void offsale(@Param("ids") List<Long> ids,@Param("offsaletime") Date date);
}
